package gang.org.springframework.framework.web.servlet;

import gang.org.springframework.framework.annotation.GConfiguration;
import gang.org.springframework.framework.factory.GangListableBeanFactory;
import gang.org.springframework.framework.web.servlet.config.annotation.GangDelegatingWebMvcConfiguration;

/**
 * 业务意义
 * 1）主类
 * */
@GConfiguration
public class GangWebMvcAutoConfiguration {

    /**
     * 业务意义
     * 1）内部类
     * 2）其父类方法，属性于该类，源码中共34个BeanMethod
     * */
    @GConfiguration
    public static class GangEnableWebMvcConfiguration extends GangDelegatingWebMvcConfiguration{

        private final Object resourceProperties; //TODO
        private final Object mvcProperties; //TODO
        private final Object webProperties; //TODO
        private final GangListableBeanFactory beanFactory; //TODO
        private final Object mvcRegistrations; //TODO


        public GangEnableWebMvcConfiguration(Object resourceProperties,
                                             Object mvcProperties,
                                             Object webProperties,
                                             Object mvcRegistrationsProvider,
                                             Object resourceHandleerRegistrationCustomizerProvider,
                                             GangListableBeanFactory beanFactory) {
            this.resourceProperties = resourceProperties;
            this.mvcProperties = mvcProperties;
            this.webProperties = webProperties;
            this.beanFactory = beanFactory;
            this.mvcRegistrations = null;
        }
    }

}
